// kiem tra  du lieu form add
$(document).ready(function(){
			$("#frmAdd").validate({
			rules: {
				pusername:{required:true},
				ppassword : {required: true},
				pemail : {required: true,email:true},
				pfirstname:{required: true},
				plastname:{required: true},
			},                
			messages: {
				pusername: { required: username_required },
				ppassword: { required: password_required },
				pemail: { required: email_confirm_required ,email:email_check },
				pfirstname: { required: firstname_required },
				plastname: { required: lastname_required }
			}
		});

});

//calendar field birthday
$(document).ready(function(){
	$('#pbirthtday').datepicker({showButtonPanel: true});
	$('#pbirthtday').datepicker('option', {dateFormat: 'dd/mm/yy'});
});

